/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package Model;

/**
 *
 * @author Master
 */
public class model_GheNgoi {
    private String MAGHE;
    private String MADT;
    private String LOAIGHE;
    private String TENTOA;
    private String MAPHONG;
    private int TANG;

    public String getMAGHE() {
        return MAGHE;
    }
    public void setMAGHE(String MAGHE) {
        this.MAGHE = MAGHE;
    }

    public String getMADT() {
        return MADT;
    }
    public void setMADT(String MADT) {
        this.MADT = MADT;
    }

    public String getLOAIGHE() {
        return LOAIGHE;
    }
    public void setLOAIGHE(String LOAIGHE) {
        this.LOAIGHE = LOAIGHE;
    }

    public String getTENTOA() {
        return TENTOA;
    }
    public void setTENTOA(String TENTOA) {
        this.TENTOA = TENTOA;
    }

    public String getMAPHONG() {
        return MAPHONG;
    }
    public void setMAPHONG(String MAPHONG) {
        this.MAPHONG = MAPHONG;
    }

    public int getTANG() {
        return TANG;
    }
    public void setTANG(int TANG) {
        this.TANG = TANG;
    }

    public model_GheNgoi() {
        this.MAGHE = "";
        this.MADT = "";
        this.LOAIGHE = "";
        this.TENTOA = "";
        this.MAPHONG = "";
        this.TANG = -1;
    }

    public model_GheNgoi(String MaGhe, String MaDT, String LoaiGhe, String TenToa, String MaPhong, int Tang) {
        this.MAGHE = MaGhe;
        this.MADT = MaDT;
        this.LOAIGHE = LoaiGhe;
        this.TENTOA = TenToa;
        this.MAPHONG = MaPhong;
        this.TANG = Tang;
    }

    @Override
    public String toString() {
        return this.MAGHE;
    }
    
    
}
